define("paygw_cryptocloud/gateways_modal",["exports","core/templates","core/modal"],(function(_exports,_templates,_modal){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}
/**
   * This module is responsible for PayNL content in the gateways modal.
   *
   * @module     paygw_cryptocloud/gateways_modal
   * @copyright  2024 Alex Orlov <snickser@gmail.com>
   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
   */Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.process=void 0,_templates=_interopRequireDefault(_templates),_modal=_interopRequireDefault(_modal);_exports.process=(component,paymentArea,itemId,description)=>(async()=>{(await _modal.default.create({body:await _templates.default.render("paygw_cryptocloud/button_placeholder",{}),show:!0,removeOnClose:!0})).destroy()})().then((()=>(location.href=M.cfg.wwwroot+"/payment/gateway/cryptocloud/method.php?sesskey="+M.cfg.sesskey+"&component="+component+"&paymentarea="+paymentArea+"&itemid="+itemId+"&description="+description,new Promise((()=>null)))))}));

//# sourceMappingURL=gateways_modal.min.js.map